package com.alks.function.data.dto.finance.salary;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
public class SalaryStitchInventoryDto {

    @ApiModelProperty(value = "类型", notes = "针车正单还是针车补单")
    private String type;

    @ApiModelProperty(value = "订类型")
    private int orderType;

    @ApiModelProperty(value = "生产日期")
    //在数据库里面已经取年月日了
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private String slipDate;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "型体")
    private String color;

    @ApiModelProperty(value = "序号")
    private int seqNo;

    @ApiModelProperty(value = "工序名称")
    private String processName;

    @ApiModelProperty(value = "工号")
    private String workId;

    @ApiModelProperty(value = "姓名")
    private String workName;

    @ApiModelProperty(value = "完工数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "订单数量")
    private BigDecimal ordQty;

    @ApiModelProperty(value = "针车组别ID")
    private String deptNo;

    @ApiModelProperty(value = "针车组别")
    private String deptName;

    @ApiModelProperty(value = "生产者的部门ID")
    private String workDeptNo;

    @ApiModelProperty(value = "生产者的部门")
    private String workDeptName;

    @ApiModelProperty(value = "报账标识")
    private String cfmFlag;

    @ApiModelProperty(value = "单价检核标识")
    private String priceCfmFlag;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "结算标识")
    private String checkFlag;

    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @ApiModelProperty(value = "结算单号")
    private String balanceNo;

    @ApiModelProperty(value = "财务备注")
    private String remark;

    @ApiModelProperty(value = "封账标识")
    private String bonusFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date sysDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date cfmDate;

    private String companyId;

    private String sysUser;

    private String cfmUser;

    private String FinanceDate;

    private String FinanceUser;

    private String bonusym;

}
